package com.ruicar.afs.cloud.product.dto;

import com.ruicar.afs.cloud.product.vo.*;
import lombok.Data;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName CheckProductInfoDto
 * @Description: 进件信息
 * @Author zyr
 * @Date 2020/6/3
 * @Version V1.0
 **/
@Data
public class CheckProductInfoDto {

    private int pageNo = 1;//页码
    private int pageSize = 10;//每页多少条数据
    private Long id = null;//产品ID
    private String productName;//产品名称

    /**
     * 合同总价格
     */
    private BigDecimal totalContractAmt = BigDecimal.ZERO;

    /**
     * 贷款总额
     */
    private BigDecimal totalLoanAmt = BigDecimal.ZERO;

    /**
     * 首付款总额
     */
    private BigDecimal totalFirstAmt = BigDecimal.ZERO;

    /**
     * 贴息金额
     */
    private BigDecimal totalDiscountAmt = BigDecimal.ZERO;

    /**
     * 利息总额
     */
    private BigDecimal totalInterest = BigDecimal.ZERO;

    /**
     * 月供总额
     */
    private BigDecimal totalRent = BigDecimal.ZERO;

    private String hasBail = "no";//是否有保证人

    private String hasCommonBorrower = "no";//是否有共借人

    private String hasProductValid = "no";//草稿状态

    private CheckChannelInfoVo channelInfo = new CheckChannelInfoVo();//渠道信息
    private CheckCarInfoVo carInfo = new CheckCarInfoVo();//车辆信息
    private CheckAtomInfoVo atomInfo = new CheckAtomInfoVo();//原子信息
    private CheckCostInfoVo mainProductInfo = new CheckCostInfoVo();//融资信息-主产品
    private CheckCostInfoVo addProductInfo = new CheckCostInfoVo();//融资信息-附加产品
    private CheckCustPersonalInfoVo custPersonalInfo = new CheckCustPersonalInfoVo();//客户信息-主借人
    private CheckCustPersonalInfoVo custInfoCoBorrower = new CheckCustPersonalInfoVo();//客户信息-共借人
    private CheckCustPersonalInfoVo custInfoGuarantee = new CheckCustPersonalInfoVo();//客户信息-担保人
    private List<CheckExtrasInfoVo> extrasInfoList = new ArrayList<CheckExtrasInfoVo>();//附加项目列表


}
